import discuss from './discuss.vue'
import discussAdd from './discussAdd.vue'
import discussEdit from './discussEdit.vue'
import discussSearch from './discussSearch.vue'
import discussView from './discussView.vue'

const components = [
  discuss,
  discussAdd,
  discussEdit,
  discussSearch,
  discussView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
